-- init variables
select @docCircAdminId:=DcUserId from DcUser where Login='DocCircAdmin';
select @docCircUserId:=DcUserId from DcUser where Login='DocCircUser';
select @usersRoleId:=DcRoleId from DcRole where RoleName='Users';
select @user1:=DcUserId from DcUser where Login='DocCircUser1';
select @user2:=DcUserId from DcUser where Login='DocCircUser2';
select @user3:=DcUserId from DcUser where Login='DocCircUser3';
select @docTypeFolderType:=FolderTypeId from FolderType where Name='DocType';
select @docTypeFolder:=FolderId from Folder where FolderType=@docTypeFolderType AND IsNull(ParentFolder);
select @testDocTypeFolder1:=FolderId from Folder where FolderType=@docTypeFolderType AND Name='Test DocType folder1';
select @notificationRIT:=RouteItemTypeId from RouteItemType where Name='Notification';
select @decisionRIT:=RouteItemTypeId from RouteItemType where Name='Decision';